package com.ntes.consumer3.service.impl;

import com.ntes.consumer3.service.IDemoService;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * Created by bjliuyue1 on 2017/5/21.
 */
@Service
public class DemoServiceFallBack implements IDemoService {
    @Override
    public String getString(@RequestParam("name") String name) {
        return name + " fallback getString";
    }
}
